package com.dataart.training.crimequalification.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "delinquent_states")
public class DelinquentStateEntity {

    @Id
    @Column(name = "codename")
    private String codeName;

    @Column(name = "textual_value")
    private String textualValue;

    //---------------------------------------------------------

    public String getTextualValue() {
        return textualValue;
    }

    public void setTextualValue(String textualValue) {
        this.textualValue = textualValue;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }
}